<template>
	<view class="wrap">
    <u-gap height="60"></u-gap>
    <u-button class="agent-button" @click="navTo('/pagework/device/detail')">
      <u-icon name="info-circle-fill" size="50" class="button-icon"></u-icon>
      <text class="button-text">系统设备信息</text>
    </u-button>
    <u-gap height="30"></u-gap>
    <u-button class="agent-button" @click="navTo('/pagework/device/scan')">
      <u-icon name="scan" size="50" class="button-icon"></u-icon>
      <text class="button-text">扫一扫</text>
    </u-button>
	</view>
</template>
<script>
import qiunTitleBar from '@/components/qiun-title-bar';
export default {
  components: {
    qiunTitleBar
  },
  data() {
    return {

    }
  },

  created(){

  },
  methods: {

    navTo(url) {
      uni.navigateTo({
        url: url
      });
    }
  }

}
</script>
<style lang="scss">
  .agent-button{
    color: #606266;
		width: 700rpx;
    height: 120rpx;
    .button-icon{
      color: $u-primary;
    }
    .button-text{
      padding-left: 30rpx;
      font-size: 40rpx;
      color: $u-primary;
    }
  }
</style>
